package cn.com.dhcc.ddi.task.vo;

import cn.com.dhcc.app.core.annotation.SiColumn;
import cn.com.dhcc.app.core.annotation.SiNotDbColumn;
import cn.com.dhcc.app.core.annotation.SiTable;
import cn.com.dhcc.app.core.base.ModuleFeatureBean;

import java.util.Date;
/**
 * TaskVo ETL任务-基本信息表
 * @日期：2016/11/10 17:21
 * @作者：张洪涛
 * @版权所有：东华软件
 * @版本：1.0
 */
@SiTable(name = "t_ddi_task")
public class Task extends ModuleFeatureBean {
    @SiColumn(isId = true)
    private String id;
    @SiColumn(name = "task_name")
    private String taskName;//任务名称
    @SiColumn(name = "mp_id")
    private String mpId;//映射id
    @SiColumn(name = "date_category_id")
    private String dateCategoryId;//所属数据分类
    @SiColumn(name = "task_freq_type")
    private String taskFreqType;//任务类型 1 一次性任务2周期性任务
    private String status;//执行状态 ： 1  暂停 2待执行 3执行中 4已完成  5执行异常
    @SiColumn(name = "extr_start_time")
    private Date extrStartTime;//数据抽取开始时间
    @SiColumn(name = "extr_end_time")
    private Date extrEndTime;//数据抽取截止时间
    private String isAtomicity;//数据抽取截止时间
    private Date mtime;//最后修改时间

	@SiColumn(name = "is_sett")
	private String isSett;//是否结算 1 是 0 否，只有周期任务可靠可选结算功能
	@SiColumn(name = "sett_task_id")
	private String settTaskId;//是否结算 1 是 0 否，只有周期任务可靠可选结算功能

	@SiNotDbColumn
	private String freq;//指定频率 1 间隔 2每天3 每周4 每月
	@SiNotDbColumn
	private String intervalVallue;//数值
	@SiNotDbColumn
	private String count;//任务次数
	@SiNotDbColumn
	private String successCount;//成功任务次数
	@SiNotDbColumn
	private Date executeBeginTime;//上次执行开始时间
	@SiNotDbColumn
    private Date executeEndTime;//上次执行完成时间
	@SiNotDbColumn
	private String executeType;
	@SiNotDbColumn
	private String domainId;
	@SiNotDbColumn
	private String lastLogStatus;
	@SiNotDbColumn
	private String executeTime; //一次性任务自动执行时间
	
	@SiNotDbColumn
	private String hour;
	@SiNotDbColumn
	private String sum;
	
	
	public String getSum() {
		return sum;
	}

	public void setSum(String sum) {
		this.sum = sum;
	}

	public String getHour() {
		return hour;
	}

	public void setHour(String hour) {
		this.hour = hour;
	}

	public String getDomainId() {
		return domainId;
	}

	public void setDomainId(String domainId) {
		this.domainId = domainId;
	}

	public String getExecuteType() {
		return executeType;
	}

	public void setExecuteType(String executeType) {
		this.executeType = executeType;
	}

	public Date getExecuteBeginTime() {
		return executeBeginTime;
	}

	public void setExecuteBeginTime(Date executeBeginTime) {
		this.executeBeginTime = executeBeginTime;
	}

	public Date getExecuteEndTime() {
		return executeEndTime;
	}

	public void setExecuteEndTime(Date executeEndTime) {
		this.executeEndTime = executeEndTime;
	}

	public String getFreq() {
		return freq;
	}

	public void setFreq(String freq) {
		this.freq = freq;
	}

	public String getIntervalVallue() {
		return intervalVallue;
	}

	public void setIntervalVallue(String intervalVallue) {
		this.intervalVallue = intervalVallue;
	}

	public String getCount() {
		return count;
	}

	public void setCount(String count) {
		this.count = count;
	}

	public String getSuccessCount() {
		return successCount;
	}

	public void setSuccessCount(String successCount) {
		this.successCount = successCount;
	}
	
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getMpId() {
        return mpId;
    }

    public void setMpId(String mpId) {
        this.mpId = mpId;
    }

    public String getDateCategoryId() {
        return dateCategoryId;
    }

    public void setDateCategoryId(String dateCategoryId) {
        this.dateCategoryId = dateCategoryId;
    }

    public String getTaskFreqType() {
        return taskFreqType;
    }

    public void setTaskFreqType(String taskFreqType) {
        this.taskFreqType = taskFreqType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getExtrStartTime() {
        return extrStartTime;
    }

    public void setExtrStartTime(Date extrStartTime) {
        this.extrStartTime = extrStartTime;
    }

    public Date getExtrEndTime() {
        return extrEndTime;
    }

    public void setExtrEndTime(Date extrEndTime) {
        this.extrEndTime = extrEndTime;
    }

    public String getIsAtomicity() {
        return isAtomicity;
    }

    public void setIsAtomicity(String isAtomicity) {
        this.isAtomicity = isAtomicity;
    }
    
    public Date getMtime() {
		return mtime;
	}

	public void setMtime(Date mtime) {
		this.mtime = mtime;
	}

	public String getLastLogStatus() {
		return lastLogStatus;
	}

	public void setLastLogStatus(String lastLogStatus) {
		this.lastLogStatus = lastLogStatus;
	}

	public String getExecuteTime() {
		return executeTime;
	}

	public void setExecuteTime(String executeTime) {
		this.executeTime = executeTime;
	}

	public String getIsSett() {
		return isSett;
	}

	public void setIsSett(String isSett) {
		this.isSett = isSett;
	}

	public String getSettTaskId() {
		return settTaskId;
	}

	public void setSettTaskId(String settTaskId) {
		this.settTaskId = settTaskId;
	}
}
